extends StateBase

var battleField:BattleField = null

func enter():
	battleField = ownerNode as BattleField
	
	battleField.cursor.show()
	battleField.cursor.changeColor2Brown()
	battleField.currentSelectTargetIndex = 0
	battleField.currentSelectTarget = battleField.selectableTargets[battleField.currentSelectTargetIndex]
	battleField.cursor.setCell(battleField.currentSelectTarget.getCell())
	

func exit():
	pass


func run(delta):
	battleField.processSelectTarget()
	battleField.processConfirmSelectTarget()
	
	
	
